-- GENERATED SPELL FOR [Nascent Val'kyr] --


function spell0_29570(pUnit, Event) --@Lash,n/a--
pUnit:FullCastSpellOnTarget(60991,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_29570', 583, 1)
end

function spell1_29570(pUnit, Event) --@Touch of the Val\'kyr,n/a--
pUnit:FullCastSpellOnTarget(57547,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_29570', 7000, 1)
end

function Sorts_29570(pUnit, Event)
local choix_sorts_29570 = math.random(0, 1)
if choix_sorts_29570 == 0 then
pUnit:RegisterEvent('spell0_29570', 1, 1)
end
if choix_sorts_29570 == 1 then
pUnit:RegisterEvent('spell1_29570', 1, 1)
end
end

function mob29570_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_29570', math.random(1500, 3000), 1)
end

function mob29570_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob29570_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob29570_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(29570, 1, 'mob29570_Action')
RegisterUnitEvent(29570, 2, 'mob29570_Leave')
RegisterUnitEvent(29570, 3, 'mob29570_Kill')
RegisterUnitEvent(29570, 4, 'mob29570_Die')
